package com.gitee.wsl.security.signature.ecdsa.hash

import com.gitee.wsl.security.hash.SHA512

object EcSha512 : EcHasher {
    override fun hash(data: ByteArray): ByteArray {
        return SHA512.digest(data).bytes
    }
}

val EcHasher.Companion.Sha512 get() = EcSha512